<table id="stocks">
  <thead>
  <tr>
    <th width='80px'>Name</th>
    <th width='60px'>Company</th>
    <th width='30px'>Cost</th>
    <th width='20px'>Qty.</th>
  </tr>
  </thead>
  <tbody>
<% @stocks.each do |stock| %>
  <tr stock_id=<%= stock.id %> >
    <td><%= stock.name %></td>
    <td><%= stock.company %></td>
    <td><%= stock.sale_cost %></td>
    <td><%= stock.quantity %></td>
  </tr>
<% end %>
  </tbody>
</table>

